[LINUX][X86_64] Destroy initial page-table mappings to avoid overlap with modules.
authorkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Fri, 2 Jun 2006 17:06:50 +0000 (18:06 +0100)
committerkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Fri, 2 Jun 2006 17:06:50 +0000 (18:06 +0100)
commit585c0a452871849b8a8d1e428b50983cf1c4692c
treef3b5c402d22d08269737fd581097eef3bd44f249
parent7ec31d2960d0f5e4c1dfbd3d0d003860f51c6054
[LINUX][X86_64] Destroy initial page-table mappings to avoid overlap with modules.

The temporary mappings needed to set up the 1:1 mappings must be torn
down after use; otherwise they may trigger the
WARN_ON() in vmap_pte_range() (namely if the chunk allocated to hold
kernel and initial page tables gets close to or
exceeds 128Mb, or if a sufficiently high mem= argument causes the
static allocations to grow beyond 128Mb, which in
either case means these mappings extend into the modules area).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
linux-2.6-xen-sparse/arch/x86_64/mm/init-xen.c